<!-- start: Header Menu -->
<div class="nav-no-collapse header-nav">
    <ul class="nav pull-right">
        <!-- start: Message Dropdown -->
        <li class="dropdown hidden-phone">
            <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                <i class="icon-envelope"></i>
            </a>
            <ul class="dropdown-menu messages">
                <li>
                    <span class="dropdown-menu-title">You have 9 messages</span>
                </li>   
                <li>
                    <a href="#">
                        <span class="avatar"><img src="img/avatar.jpg" alt="Avatar" /></span>
                        <span class="header">
                            <span class="from">
                                Łukasz Holeczek
                             </span>
                            <span class="time">
                                6 min
                            </span>
                        </span>
                        <span class="message">
                            Lorem ipsum dolor sit amet consectetur adipiscing elit, et al commore
                        </span>  
                    </a>
                </li>
                <li>
                    <a class="dropdown-menu-sub-footer">View all messages</a>
                </li>   
            </ul>
        </li>
        <!-- end: Message Dropdown -->
        <!-- start: User Dropdown -->
        <li class="dropdown">
            <a class="btn account dropdown-toggle" data-toggle="dropdown" href="#">
                <div class="avatar"><img src="<?php echo $this->current_user->getAvatar() ?>" alt="Avatar" /></div>
                <div class="user">
                    <span class="hello"><?php echo Yii::t("main","Xin chào");?></span>
                    <span class="name"><?php echo $this->current_user->username; ?></span>
                </div>
            </a>
            <ul class="dropdown-menu">
                <li class="dropdown-menu-title">
                    ádasdasdas
                </li>
                <li><a href="<?php echo yii::app()->createUrl('users/profile'); ?>"><i class="icon-user"></i> <?php echo yii::t('main', 'Thông tin cá nhân') ?></a></li>
                <li><a href="#"><i class="icon-cog"></i> Settings</a></li>
                <li><a href="#"><i class="icon-envelope"></i> Messages</a></li>
                <li><a href="<?php echo Yii::app()->createUrl('logout.html');?>"><i class="icon-off"></i> Logout</a></li>
            </ul>
        </li>
        <!-- end: User Dropdown -->
    </ul>
</div>
<!-- end: Header Menu -->